projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d72a4b
)
repo-pull: Allocate with g_new0 rather than g_new.
author
Colin Walters
<walters@verbum.org>
Thu, 26 Sep 2013 18:38:37 +0000
(14:38 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 26 Sep 2013 18:38:37 +0000
(14:38 -0400)
Conflicts:
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo-pull.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo-pull.c
b/src/libostree/ostree-repo-pull.c
index b52e19d277d86f054cecfed25697da24b4a595c7..416e3b153350704db1f98d61f068b1bfb0359134 100644
(file)
--- a/
src/libostree/ostree-repo-pull.c
+++ b/
src/libostree/ostree-repo-pull.c
@@
-994,7
+994,7
@@
enqueue_one_object_request (OtPullData *pull_data,
pull_data->n_outstanding_content_fetches++;
pull_data->n_requested_content++;
}
- fetch_data = g_new (FetchObjectData, 1);
+ fetch_data = g_new
0
(FetchObjectData, 1);
fetch_data->pull_data = pull_data;
fetch_data->object = g_variant_ref (object_name);
fetch_data->is_detached_meta = is_detached_meta;